package com.vf.admin.client.service.impl;

import com.vf.admin.client.dao.AppTripDao;
import com.vf.admin.client.dto.AppTripDto;
import com.vf.admin.client.service.AppTripService;
import com.vf.admin.common.splitpage.SplitPageBean;
import com.vf.admin.miaodong.entity.AppTrip;
import org.springframework.stereotype.Service;

import javax.annotation.Resource;
import java.util.List;
import java.util.Map;

/**
 * <p>Title : </p>
 * <p>Description : </p>
 * <p>DevelopTools : IDEA</p>
 * <p>DevelopSystem : Windows11</p>
 *
 * @Author : zxw
 * @Date 2023/10/18 17:31
 */
@Service
public class AppTripServiceImpl implements AppTripService {

    @Resource
    private AppTripDao appTripDao;


    @Override
    public List<AppTripDto> getAppTripDtoPage(Map<String, Object> paraMap, SplitPageBean splitPageBean) {
        return appTripDao.getAppTripDtoPage(paraMap,splitPageBean);
    }

    @Override
    public void save(AppTrip appTrip) {
        appTripDao.add(appTrip);
    }
}
